package com.qys.livesMall.shop.modal.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @packageName:
 * @className:OrderReturnDto
 * @Description:
 * @author:guomx
 * @date:2023/6/259:34
 */
@Data
public class OrderReturnDto {
    private static final long serialVersionUID = 1L;
    private Long id;
    @Schema(description = "退货sku_id")
    private Long orderSkuId;
    @Schema(description = "商家id")
    private Long shopId;
    @Schema(description = "商家名字")
    private String shopName;
    @Schema(description = "退货人id")
    private Long returnUserId;
    @Schema(description = "退货人名字")
    private String returnUserName;
    @Schema(description = "1签收0未签收")
    private String sign;
    @Schema(description = "退货原因")
    private String idea;
    @Schema(description = "退货原因详情")
    private String description;
    @Schema(description = "0未取消1已取消")
    private String isDelete;
    @Schema(description = "0用户1商户2平台")
    private String processUser;
    @Schema(description = "1退货2换货,3:退款")
    private Integer type;
    @Schema(description = "0未处理1不同意2同意")
    private String status;
    @Schema(description = "审批意见")
    private String opinion;
    @Schema(description = "处理人id")
    private Long userId;
    @Schema(description = "处理人")
    private String userName;
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @Schema(description = "订单详情")
    private ShopOrderSkuDto orderSkuDto;
    @Schema(description = "订单信息")
    private ShopOrderDto orderDto;
}
